﻿//=====================================================
// Copyright © 2017-2018 xuxuzhaozhao
// All rights reserved
// GUID: f26739a3-bd10-499a-9545-135ebb7a1c97
// CLR版本: 4.0.30319.42000
// 命名空间名称: xuxuzhaozhao.Blog.Domain
// 文件名: XuLoginLog
// 当前系统时间: 2017/11/6 17:01:16
// 当前登录用户名: xuxuzhaozhao
//======================================================

using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace xuxuzhaozhao.Blog.Domain
{
    [Table("XuLoginLog")]
    public class XuLoginLog
    {
        public long Id { get; set; }
        public string IpAddress { get; set; }
        public string Loginer { get; set; }
        public DateTime LoginTime { get; set; } = DateTime.Now;
        public LoginState LoginState { get; set; } = LoginState.Success;
    }

    public enum LoginState
    {
        Success,
        Fail
    }
}
